Don't ever invalidate the root window
authorAlexander Larsson <alexl@redhat.com>
Mon, 10 Aug 2009 12:08:37 +0000 (14:08 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 10 Aug 2009 12:13:06 +0000 (14:13 +0200)
commit7f92684237fe842621b2653cc8b46288646a61b3
treee8c12140665faaecbc30ef50305aba1e28469916
parentc68194b951b25c4d9b6cb6b8f7e731b98a535dee
Don't ever invalidate the root window

This never worked before csw since the root window is never
set as IS_MAPPED, but with the new viewable check (which is
true for the root window) we could erronously queue exposes
on the root window.

This happened unexpectedly in bug 589369, where metacity
got a GraphicsExpose event on the root window due to some
graphics operation, queueing an expose which would be handled
by clearing that area. That is fixed with this commit.
gdk/gdkwindow.c